<!DOCTYPE HTML>
<html lang="zh-cn" ng-app>
	<head>
		<meta charset="UTF-8">
		<title>filter</title>
		<style type="text/css">
			.ng-cloak {
				display: none;
			}
		</style>
	</head>
	<body>
		<div ng-init="list = ['百度B','搜狗S','360','3SB']">

			数字格式化: 1233211234567 -> {{1233211234567|number}}
			<br/>
			数组过滤，然后通过json格式输出:
			<input ng-model="myFilterText" type="text"/>
			<br/>
			{{list|filter:myFilterText|json}}
			<br/>
		</div>
		<script src="libs/angular.min.js" type="text/javascript"></script>
	</body>
</html>